﻿using System.Text.RegularExpressions;

namespace Halk.Config
{
    /// <summary>
    /// 规则参数
    /// </summary>
    public class RulePara
    {
        private string _RegexName = "";
        public string RegexName
        {
            get { return _RegexName; }
            set { _RegexName = value; }
        }

        private string _Pattern = "";
        public string Pattern
        {
            get { return _Pattern; }
            set { _Pattern = value; }
        }

        private string _Method = "";
        public string Method
        {
            get { return _Method; }
            set { _Method = value; }
        }

        private RegexOptions _Options = RegexOptions.None;
        public RegexOptions Options
        {
            get { return _Options; }
            set { _Options = value; }
        }

        private string _FilterPattern = "";
        public string FilterPattern
        {
            get { return _FilterPattern; }
            set { _FilterPattern = value; }
        }
    }
}
